home *** CD-ROM | disk | FTP | other *** search
/ AI Game Programming Wisdom / AIGameProgrammingWisdom.iso / SourceCode / 06 General Architectures / 04 Christian / characterexec.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-07-29  |  428 b   |  26 lines

  1.  
  2.  
  3. #ifndef _CHARACTOREXEC_H_
  4. #define _CHARACTEREXEC_H_
  5.  
  6. class CharacterExec : public IEExec
  7. {
  8.  
  9. public:
  10.     Character();
  11.  
  12.     virtual void init   ();
  13.     virtual bool start  ();
  14.     virtual bool update () = 0;
  15.     virtual bool finish ();
  16.     virtual void reset  ();
  17.  
  18.     IEOwner * getOwner  ();
  19.  
  20.     const char * getName() = 0;
  21.  
  22. protected:
  23.     Character * m_owner;    // owner of this exec type
  24. };
  25.  
  26. #endif